Return thermodynamic state from p and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function setState_pT
"Return thermodynamic state from p and T"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input Temperature T "Temperature";
output ThermodynamicState state "thermodynamic state record";
algorithm
state := setState_pTX(p,T,fill(0,0));
end setState_pT;
Return thermodynamic state from p and h
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function setState_ph
"Return thermodynamic state from p and h"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
output ThermodynamicState state "thermodynamic state record";
algorithm
state := setState_phX(p,h,fill(0, 0));
end setState_ph;
Return thermodynamic state from p and s
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function setState_ps
"Return thermodynamic state from p and s"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEntropy s "Specific entropy";
output ThermodynamicState state "thermodynamic state record";
algorithm
state := setState_psX(p,s,fill(0,0));
end setState_ps;
Return thermodynamic state from d and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function setState_dT
"Return thermodynamic state from d and T"
extends Modelica.Icons.Function;
input Density d "density";
input Temperature T "Temperature";
output ThermodynamicState state "thermodynamic state record";
algorithm
state := setState_dTX(d,T,fill(0,0));
end setState_dT;
Return density from p and h
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
| Type | Name | Description |
| Density | d | Density [kg/m3] |
Modelica definition
replaceable function density_ph "Return density from p and h"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
output Density d "Density";
algorithm
d := density_phX(p, h, fill(0,0));
end density_ph;
Return temperature from p and h
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function temperature_ph "Return temperature from p and h"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
output Temperature T "Temperature";
algorithm
T := temperature_phX(p, h, fill(0,0));
end temperature_ph;
Return pressure from d and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function pressure_dT "Return pressure from d and T"
extends Modelica.Icons.Function;
input Density d "Density";
input Temperature T "Temperature";
output AbsolutePressure p "Pressure";
algorithm
p := pressure(setState_dTX(d, T, fill(0,0)));
end pressure_dT;
Return specific enthalpy from d and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function specificEnthalpy_dT
"Return specific enthalpy from d and T"
extends Modelica.Icons.Function;
input Density d "Density";
input Temperature T "Temperature";
output SpecificEnthalpy h "specific enthalpy";
algorithm
h := specificEnthalpy(setState_dTX(d, T, fill(0,0)));
end specificEnthalpy_dT;
Return specific enthalpy from p and s
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function specificEnthalpy_ps
"Return specific enthalpy from p and s"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEntropy s "Specific entropy";
output SpecificEnthalpy h "specific enthalpy";
algorithm
h := specificEnthalpy_psX(p,s,fill(0,0));
end specificEnthalpy_ps;
Return temperature from p and s
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function temperature_ps "Return temperature from p and s"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEntropy s "Specific entropy";
output Temperature T "Temperature";
algorithm
T := temperature_psX(p,s,fill(0,0));
end temperature_ps;
Return density from p and s
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
| Type | Name | Description |
| Density | d | Density [kg/m3] |
Modelica definition
replaceable function density_ps "Return density from p and s"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEntropy s "Specific entropy";
output Density d "Density";
algorithm
d := density_psX(p, s, fill(0,0));
end density_ps;
Return specific enthalpy from p and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
Modelica definition
replaceable function specificEnthalpy_pT
"Return specific enthalpy from p and T"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input Temperature T "Temperature";
output SpecificEnthalpy h "specific enthalpy";
algorithm
h := specificEnthalpy_pTX(p, T, fill(0,0));
end specificEnthalpy_pT;
Return density from p and T
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Outputs
| Type | Name | Description |
| Density | d | Density [kg/m3] |
Modelica definition
replaceable function density_pT "Return density from p and T"
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input Temperature T "Temperature";
output Density d "Density";
algorithm
d := density(setState_pTX(p, T, fill(0,0)));
end density_pT;
Automatically generated Wed Feb 12 08:26:59 2014.